home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19980424-19980901
/
000321_news@newsmaster….columbia.edu _Fri Jul 31 14:41:31 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA09923
for <kermit.misc@watsun.cc.columbia.edu>; Fri, 31 Jul 1998 14:41:31 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id OAA24567
for kermit.misc@watsun; Fri, 31 Jul 1998 14:41:30 -0400 (EDT)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.sys.hp.hpux,comp.protocols.kermit.misc
Subject: Re: International Character Set/HP-UX 10.20
Date: 31 Jul 1998 18:41:25 GMT
Organization: Columbia University
Lines: 56
Message-ID: <6pt34l$sdt$1@apakabar.cc.columbia.edu>
References: <35C1FFE0.5AFD@fast.net>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.sys.hp.hpux:88446 comp.protocols.kermit.misc:9031
In article <35C1FFE0.5AFD@fast.net>, Chad <wick@fast.net> wrote:
: I received a text file from our Mexico facility. In Notepad I can see
: the Spanish characters.
:
Therefore the encoding is Windows Codepage 1252, "Windows Latin 1".
: I ftp'ed the file to our HP 9000/K260 running HP-UX 10.20.
: When I VI the file, the Spanish characters are missing.
:
The default character set in HP-UX for Spanish and other west European
languages is HP-Roman8, which is like Latin-1, but with a different
encoding.
Since FTP knows nothing about character sets, it did not perform the
needed translation.
Solution: use a file transfer method that understands how to convert
character sets, such as Kermit:
http://www.columbia.edu/kermit/
C-Kermit is supplied with HP-UX. The Kermit software for Windows 95/98/NT
is Kermit 95:
http://www.columbia.edu/kermit/k95.html
which can make Telnet, Rlogin, or regular serial connections to your HP
server, using HP-2621 or HPTERM emulation (or any of about 35 others,
including VT100, VT320, etc). During a connection, you can initiate a
file transfer. The easiest way to do this is as follows:
Tell Kermit 95 that your local character set is Code Page 1252:
set file character-set cp1252
(This is necessary because it might also have been an OEM code page,
such as 850, and there is no way to tell automatically which one was used
to encode the file.) Then make the connection, enter the terminal
screen, and log in to HP-UX.
On the HP-UX server, type "kermit" to start C-Kermit. At the C-Kermit>
prompt, type:
set file type text
set file character-set hp-roman8
get xxxx
where xxxx is the name of the file. Kermit 95 automatically recognizes
the "get" request and sends the file, and the character set is converted
from the PC code page to HP-Roman8.
Of course many other conversions are also possible, and any supported
character set may be established as your default (so you don't always have
to give the "set file character-set" commands prior to transfer).
- Frank